<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

{#    <p style="color: yellow">{{ name1 }}</p>#}
{#    <p style="color: aquamarine">{{ name2 }}</p>#}
{#    <p style="color: darkgray">{{ name3.1 }} {{ name3.2 }}</p>#}
{#    <p style="color: cornflowerblue">姓名： {{ dict.name }} 性别：{{ dict.gender }}</p>#}
{#    <p style="color: salmon">{{ func }}</p>#}
{#    <p style="color: seagreen">{{ web }}</p>#}


{# 判断变量值是否相等的模板 #}
{% ifequal n1 '懒洋洋' %}
    <p>{{ n1 }} equal 懒洋洋 </p>
{% else %}
    <p>{{ n1 }} not equal 懒洋洋 </p>
{% endifequal %}

</body>
</html>